package cn.tedu.egweibo06.mapper;

import cn.tedu.egweibo06.pojo.entity.Weibo;
import cn.tedu.egweibo06.pojo.vo.WeiboDetailVO;
import cn.tedu.egweibo06.pojo.vo.WeiboVO;

import java.util.List;

public interface WeiboMapper {
    int insert(Weibo weibo);

    List<WeiboVO> selectIndex();

    WeiboDetailVO selectById(int id);
}
